package com.zhouqinuan.spring.cloud.develop.framework.demo.shardingsphere.jdbc.req;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("AddUserReq")
@Data
public class AddUserReq {

    @ApiModelProperty("昵称")
    @NotBlank
    private String nickname;

    @ApiModelProperty("头像")
    private String pic;

    @ApiModelProperty("手机号")
    @NotBlank
    private String phone;
}
